package com.zhu.edu.service;

import com.zhu.edu.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zjc
 * @since 2021-12-21
 */
public interface UserService extends IService<User> {
    User getUserByUsername(String user);

    List<Map<String, Object>> getMenuList(String username);

    List<User> getStudentListByCourseId(Integer courseId);

    List<Map<String, Object>> getStudentsGradeByCourseId(Integer courseId);

    List<User> getAllTeachersBySchoolId(Integer schoolId);
}
